package com.smarthome.ipc.aopu.entity;

/**
 * 奥普摆闸请求对象。
 * 
 * 
 * @author KongXiangyu
 * 
 * @since 1.0
 */
public class AopuDoorOpen {
	private byte commandhex;// 指令(十六进制)
	private byte doorNum;// 摆闸序号
	private byte lengthL;// 数据长度低位
	private byte lengthH;// 数据长度高位
	private byte[] data;// 数据
	private String ip;// 设备ip
	private int port;// 设备端口号.
	private String accessType;// 访问方式

	public byte getCommandhex() {
		return commandhex;
	}

	public void setCommandhex(byte commandhex) {
		this.commandhex = commandhex;
	}

	public byte getDoorNum() {
		return doorNum;
	}

	public void setDoorNum(byte doorNum) {
		this.doorNum = doorNum;
	}

	public byte getLengthL() {
		return lengthL;
	}

	public void setLengthL(byte lengthL) {
		this.lengthL = lengthL;
	}

	public byte getLengthH() {
		return lengthH;
	}

	public void setLengthH(byte lengthH) {
		this.lengthH = lengthH;
	}

	public byte[] getData() {
		return data;
	}

	public void setData(byte[] data) {
		this.data = data;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getAccessType() {
		return accessType;
	}

	public void setAccessType(String accessType) {
		this.accessType = accessType;
	}

}
